/********************************************************/
/*	Copyright (C) 2012 Gong Li Bin			*/
/*	Project:	MapReduce			*/
/*	Author:		gong_libin			*/
/*	Date:		2013_05_06			*/
/*	File:		MrOracl.h			*/
/********************************************************/

#ifndef	_MRORACL_H
#define	_MRORACL_H

#include "MrSql.h"

class CMrOracl : public CMrSql
{
public:
	CMrOracl();
	virtual ~CMrOracl();

	void MrSqlClose();
	int MrSqlInsert(char* pszSql);
	int MrSqlUpdate(char* pszSql);
	int MrSqlDelete(char* pszSql);
	void* MrSqlSelect(char* pszSql);
	int MrSqlConnect(char* pszHost, char* pszPort, char* pszUser, char* pszPass);

protected:

private:
	int MrOraclQuery(char* pszSql);

};

#endif /* _MRORACL_H */
